home *** CD-ROM | disk | FTP | other *** search
- Subject: Personal Pascal Problems with GDOS fixed!
-
- After getting totally fed up with the response of CCD/OSS (makers of
- Personal Pascal / ST Pascal +) to two letters which I sent them about
- the problems of Personal Pascal with GDOS, I decided to have a look at
- the PASGEM libary to see what the problem is...after disassembling the
- object module GEMSYS.O, I had a working fix after 5 (in words: five) minutes!
- Declare the following external routines together with VDI_Call and
- AES_Call:
-
- Procedure G_Set_Port(Handle : Integer);
- External;
-
- Function Get_Port : Integer;
- External;
-
- With these two calls you can get and set the PASGEM internal device
- handle...you don't have to put the handle in Contrl[6] when using
- VDI_Call...To start up a application properly do following:
-
- Init_Gem;
- GrafHandle := Graf_Hdl(Dummy,Dummy,Dummy,Dummy); {write this with AES_Call}
- G_Set_Port(GrafHandle);
- OpenVirtualWorkStation(GrafHandle); {Write this with VDI_Call, after the}
- { call the new handle is in }
- { Control[6] }
- G_Set_Port(GrafHandle);
-
-
- You should be able to switch between devices using theses two additional
- functions (I wonder why OSS didn't bother to document them...CCD doesn't seem
- to know that they exists either!).
-
- Anyway as you can imagine a GDOS compatible version of UniTerm is practically
- finished with Tek 4010 output to printer , metafile etc. (that's naturally only
- if you have GDOS!).
-
- Simon Poole
-